package com.lechi.web.constants;


/**
 * The type Constants.
 *
 * @Author yangguang
 */
public class Constants {

    /**
     * 服务开启状态
     */
    public final static String SOCKT_OPEN_STATUE = "1";

    /**
     * 服务关闭状态
     */
    public final static String CLOSE_STATUE = "0";

    /**
     * The constant GET_WAY_KEY.
     */
    public static final String GET_WAY_KEY = "get_way_key";

    /**
     * TCP协议
     */
    public static final String MODBUS_RTU = "MODBUS-RTU";

    /**
     * 写文件名称
     */
    public static final String WRITE_RECORD_LOG_CSV = "WRITE_RECORD_LOG_CSV_";

    /**
     * 写文件名称
     */
    public static final String WRITE_RECORD_LOG_TXT = "WRITE_RECORD_LOG_TXT_";

    /**
     * TCP协议
     */
    public static final String ANDROID_TCP = "ANDROID-TCP";


    /**
     * WEATHER2017
     */
    public static final String WEATHER2017 = "WEATHER-2017";

    /**
     * WEATHER2024
     */
    public static final String WEATHER2024 = "WEATHER-2024";

    /**
     * WEATHER2024
     */
    public static final String BEIDOU_RSMC = "BEIDOU-RSMC";

    /**
     * 数据格式 32位浮点
     */
    public static final String FLOAT_FORMAT_32 = "float32";

    /**
     * 数据格式 16位浮点
     */
    public static final String FLOAT_FORMAT_16 = "float16";

    /**
     * 数据格式 32位整形
     */
    public static final String INTEGER_DATA_FORMAT_32 = "integer32";

    /**
     * 数据格式 16位整形
     */
    public static final String INTEGER_DATA_FORMAT_16 = "integer16";

    /**
     * 按照寄存器
     */
    public static final String REGISTER_32 = "register";

    /**
     * 传感器监控要素数据
     */
    public static final String MONITOR_DATA_TABLE = "iot_monitor_data_";

    /**
     * 新增标记
     */
    public static final Long ADD_FLAG = -1L;

    /**
     * 触发器开启状态
     */
    public final static Integer TRIGGER_OPEN_STATUE = 1;


    /**
     * 资源文件-草稿
     */
    public static final Long UN_PUBLISH = 1L;


    /**
     * 资源文件-已发布
     */
    public static final Long PUBLISHED = 3L;


    /**
     * 按天检查
     */
    public static final String DAY = "day";


    /**
     * 按小时检查
     */
    public static final String HOUR = "hour";
}
